<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #r1{
            color: green;
        }
        .r2{
            color: blue;
        }
       h1, h2{
            background-color: yellow;
        }
        input[type='submit']{
           color: pink;
            background-color: red;
        }
        input[type='button']{
            color: pink;

        }
        *{
            border: 1px solid blue;
        }

    </style>
</head>
<body>
<ul>
    <li class="r2">刘德华</li>
    <li id="r1">张学友</li>
    <li>郭富城</li>
</ul>
<h1 class="r2">悟空</h1>
<h1 >八戒</h1>
<h1 >沙僧</h1>
<h2 >刘备</h2>
<input type="submit" value="提交按钮">
<input type="button" value="普通按钮">
</body>
</html>